﻿using Smile.Converter;
using Smile.Network.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Smile.Network.OAuth
{
    public class YahooClient : OAuthClientBase
    {
        // @Public
        public YahooClient()
            : base("", "", "")
        {
        }

        protected override string GenerateBaseString(string targetUrl, UriArgumentsDictionary parameters, string method = "POST")
        {
            throw new NotImplementedException();
        }

        protected override string GenerateSignature(string baseString = "")
        {
            throw new NotImplementedException();
        }

        protected override UriArgumentsDictionary GenerateRequestTokenParameters()
        {
            throw new NotImplementedException();
        }

        protected override UriArgumentsDictionary GenerateAccessTokenParameters()
        {
            throw new NotImplementedException();
        }
    }
}

 /*public string ToOAuthBaseString(string baseUri, string method = "POST")
        {
            string baseString = method + "&";
            baseString += Uri.EscapeDataString(baseUri) + "&";
            baseString += Uri.EscapeDataString(baseUri) + "&";

            var paramsString = "";
            int i = 0;
            foreach (var item in this)
            {
                baseString += Uri.EscapeDataString(item.Key) + "%3D" + Uri.EscapeDataString(item.Value);
                if (i < Count - 1)
                {
                    baseString += "%26";
                }
                ++i;
            }
            return baseString;
        }*/